""" -*- coding: utf-8 -*-"""
# import os
# from dotenv import load_dotenv
#
# load_dotenv()

class Config:
    # 数据库配置
    SQLALCHEMY_DATABASE_URI =  'mysql+pymysql://root:root@localhost:3306/file_mg_db'
    SQLALCHEMY_TRACK_MODIFICATIONS = False

    # 安全配置
    SECRET_KEY =  '@02367919876'

class DevelopmentConfig(Config):
    DEBUG = True


class ProductionConfig(Config):
    DEBUG = False


config = {
    'development': DevelopmentConfig,
    'production': ProductionConfig,
    'default': DevelopmentConfig
}